package lancs.mobilemedia.core.ui.screens;

import java.util.Vector;

import javax.microedition.lcdui.Command;

public class PhotoListScreenCommandList implements CommandList {

	Vector v;

	public static final Command viewCommand = new Command("View", Command.ITEM, 1);
	public static final Command addCommand = new Command("Add", Command.ITEM, 1);
	public static final Command deleteCommand = new Command("Delete", Command.ITEM, 1);
	public static final Command backCommand = new Command("Back", Command.BACK, 0);
	public static final Command editLabelCommand = new Command("Edit Label", Command.ITEM, 1);
	
	public PhotoListScreenCommandList() {
		init();
	}

	public void addToVector(Command c) {
		v.addElement(c);
	}

	public Vector getList() {
		return v;
	}

	public void init() {
		v = new Vector();
		addToVector(viewCommand);
		addToVector(addCommand);
		addToVector(deleteCommand);
		addToVector(editLabelCommand);
		addToVector(backCommand);
	}

}
